
set path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0

net stop vss /y
net stop swprv /y

%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\ole32.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\oleaut32.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\vss_ps.dll
vssvc /register
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\swprv.dll
%SystemRoot%\system32\regsvr32.exe /s /i %SystemRoot%\system32\swprv.dll
%SystemRoot%\system32\regsvr32.exe /s /i %SystemRoot%\system32\eventcls.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\es.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\wbem\stdprov.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\wbem\vsswmi.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\stdprov.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\vssui.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\msxml.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\msxml2.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\msxml3.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\msxml4.dll
%SystemRoot%\system32\regsvr32.exe /s %SystemRoot%\system32\comsvcs.dll
vssvc /register

start /wait net start swprv /y
start /wait net start vss /y
